//
//  EL.swift
//  WZApp
//
//  Created by evol on 2018/6/29.
//  Copyright © 2018年 evol. All rights reserved.
//

import UIKit
import HandyJSON
struct ELTagModel: HandyJSON {
    var id: NSInteger?
    var name: String?
    var prior: NSInteger?   // 排序字段
    var x: CGFloat = 0
    var y: CGFloat = 0
    var intro: String?
    var type: NSInteger?
    var subtype: NSInteger?
    var level: NSInteger?
    var gis_x: String?
    var gis_y: String?
    var icon_name: String?
    var scene: NSInteger = 0
    var site: String?
    var regular: String?    //正则表达式...
}

extension ELTagModel {
    var reuseIdentifier:String {
        if scene > 0 {
            return "scene"
        }else {
            return "normal"
        }
    }
}
